x86/vm_event: consolidate hvm_event_fill_regs and p2m_vm_event_fill_regs
authorTamas K Lengyel <tlengyel@novetta.com>
Mon, 22 Feb 2016 16:24:15 +0000 (17:24 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Feb 2016 16:24:15 +0000 (17:24 +0100)
commitadc75eba8b15c7103a010f736fe62e3fb2383964
tree56d115b99dfc07857dbef6c922cb3b7d084ec717
parenta4b4d3d5a89c61baab042a8972676b6b4f30a9a4
x86/vm_event: consolidate hvm_event_fill_regs and p2m_vm_event_fill_regs

Currently the registers saved in the request depend on which type of event
is filling in the registers. In this patch we consolidate the two versions
of register filling function as to return a fix set of registers irrespective
of the underlying event.

Signed-off-by: Tamas K Lengyel <tlengyel@novetta.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
xen/arch/x86/hvm/event.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/vm_event.c
xen/include/asm-x86/vm_event.h